#require:host\get-ping
#require:services\sharepoint\2007\get-version

param(
)

[Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") | out-null

if([Microsoft.SharePoint.Administration.SPFarm].Local -ne $null) {
	1
}
0